Integrate JsonResponse into lms/djangoapps/instructor/views/api.py