Use JsonResponse when it makes sense