'Asserts that the JSON response is syntactically consistent'

def assert_correct_json_response(self, json_response, is_concise=False):

    self.assertIsNotNone(json_response['display_name'])
    self.assertIsNotNone(json_response['id'])
    self.assertIsNotNone(json_response['category'])
    self.assertNotEqual(json_response.get('published', False), is_concise)
    if json_response.get('child_info', None):
        for child_response in json_response['child_info']['children']:
            self.assert_correct_json_response(child_response, is_concise)
