load hosts from REST