JSONResponseMixin
From https://docs.djangoproject.com/en/1.3/topics/class-based-views/