def METHOD_NAME(context, **response_kwargs):
    """Simple shortcut to render a JSON response.
    :param dict context: response content
    :return: ``HttpResponse`` object
    """
    data = json.dumps(context)
    response_kwargs["content_type"] = "application/json"
    return HttpResponse(data, **response_kwargs)