creating a json response using django and python,return JsonResponse({'foo': 'bar'})