kwargs.pop('mimetype', None)
data = json.dumps(data, cls=ExtendedEncoder)
kwargs.pop('mimetype', None)
data = json.dumps(data, cls=ExtendedEncoder)
super(JSONResponse, self).__init__(data, mimetype="application/json", **kwargs)
super(JSONResponse, self).__init__(data, mimetype="application/json", **kwargs)