Output valid JSON for multi-domain CLI commands

You could serialize it via Json.asString possibly?  That means the key is a json string, which is a bit weird, but it's then at least machine readable....  

Another idea: the structure could be something like this: 
``` 
{ "shared.cloud": 
  {
   "endpoints": [ list of endpoints ]
   "srv": "helios"
   ...other details?...
   "jobs" : { 
       "ad-event-tracker:0.0.8-SNAPSHOT-637574b:91b946c81bbb4aeafe7f243e39b6d63e4110d124":{
         "command":[
            "server",
            "ad-event-tracker.yaml"
         ],
         "env":{
            ...
         }
    }
}
```