code: def json_response(obj, status='200 OK', content_type='application/json; charset=utf-8'):
          
          return WbResponse.text_response(json.dumps(obj), status, content_type)
docs: Utility method for constructing a JSON response.
  
          :param dict obj: The dictionary to be serialized in JSON format
          :param str content_type: The content-type of the response
          :param str status: The HTTP status line
          :return: WbResponse JSON response
          :rtype: WbResponse