Refactored for easier debugging.
Updates to command serialisation, now you just provide the entire command as the value, instead of providing command and argument, as this didn’t make a whole lot of sense in situation where your command is to pipe one command into and another.