Ran gofmt.
Added support in jansson port for compact and readable JSON output.