Use `HttpResponseBadRequest`, and set `content_type="application/json"`