better formatting for `listHosts`