curl "https://<server>/<site>/check_mk/webapi.py?action=get_all_hosts&_username=$user&_secret=$secret" \ | jq '.result[] | {hostname: .hostname, path: .path}'
curl "https://<server>/<site>/check_mk/webapi.py?action=get_all_hosts&_username=$user&_secret=$secret" \ | jq -r '.result[] | [.hostname, .path] | join (";")'