I suggest that you use the `JsonResponse` class defined in `util/json_request.py`