Wraps the arguments in a dictionary and returns a HttpResponse object with
    the HTTP status set to ``status``. The body of the response is JSON data
    on the format::

        {
            "status": 400,
            "message": "OK",
            "data": {"ids": [1, 2, 3]}
        }

    The content of ``data`` is serialized using the DjangoJSONEncoder class.

    Example::

        import jason

        def my_view(request):
            return jason.response({'weight': 80}, 200, 'OK')

def response(data={}, status=200, message='OK'):
    """
    Wraps the arguments in a dictionary and returns a HttpResponse object with
    the HTTP status set to ``status``. The body of the response is JSON data
    on the format::

        {
            "status": 400,
            "message": "OK",
            "data": {"ids": [1, 2, 3]}
        }

    The content of ``data`` is serialized using the DjangoJSONEncoder class.

    Example::

        import jason

        def my_view(request):
            return jason.response({'weight': 80}, 200, 'OK')
    """
    response_data = {
        'data': data,
        'status': status,
        'message': message,
    }
    content = json.dumps(response_data, ensure_ascii=False,
                               cls=DjangoJSONEncoder)
    return HttpResponse(content, status=status, content_type='application/json')