django: Use proper way to return JSON responses
Let's save some lines of code by using django.http.JsonResponse class.