Add JsonResponse class for Django < 1.7