We now have a `JsonResponse` class that does the `json.dumps`, and also sets the content type correctly. Please use that.