cli: Fix help json output

Before this change we got pretty-printed bytes, not JSON.