controll: use Json for commands

This will allow us to more easily add parameters to the commands. Example
usage:
{ "load" : { "library" : "simple" }}
{ "unload" : { "index" : 1 }}