Further integrated JsonResponse into the codebase