Start fixing up test_json_resource