Changed json responses to use JsonResponse class and adjusted error messages to English.