Use JsonResponse in CBV examples.

consider dropping this method at this point.