Adding some inline doc to the json of commands, and modifying a little the json sent