api/util/json_test: initial commit of TestJSONAPIHandler