function getHostIP(systems, target_host) {
    for (var i=0; i < systems.length; i++) {
        if (systems[i].text == target_host) {
            if (systems[i].ip == null) {
                return "N/A"
            } else {
                return systems[i].ip
            }
        }
    }
    return "N/A"
}
Generates the data object for vis.js
@param systems
@param target_host
@returns {"string"}|*}