Use JsonResponse in CBV examples.