For each command use light request & response structures for I/O parameters. The JSON formatted output is then easier to generate.