code: def make_ujson_response(obj, status_code=200):
      
      json_encoded = ujson.encode(obj, ensure_ascii=False, double_precision=-1)
      resp = make_response(json_encoded)
      resp.mimetype = 'application/json'
      resp.content_type = 'application/json; charset=utf-8'
      resp.status_code = status_code
      return resp
docs: Encodes the given *obj* to json and wraps it in a response.
  
      :return:
        A Flask response.