Code

Implement the "list_hosts_json" action.