working out getHostInfoDictFromInstance