Jsonify output of boogerd2 endpoints

Also adds 'jq' as a requirement for testing
I've added a test to validate that jq is in the PATH at the
wbeginning of the test run.