NXIO-142: store the hosts as a slice of pointers to avoid copying host objects