public static HostInfo createHostInfo(String json) {
        HostInfo hostInfo;
        try {
           hostInfo = mapper.readValue(json, HostInfo.class);
       } catch (IOException e) {
           log.log(Level.WARNING, "Problem parsing " + json, e);
           hostInfo = new HostInfo();
       }
       hostInfo.setRawCreationString(json);
       return hostInfo;
    }
Parsing and keeping of host info from nodes.

@author Haakon Dybdahl
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/hostinfo/HostInfo.java