common: Use simpler parsing in cockpit_transport_parse_command()

Just parse the command directly as an object from the payload
bytes. Fixes a bug where we freed a JSON node we shouldn't have.

Closes #521
Reviewed-by: Marius Vollmer <marius.vollmer@redhat.com>