change mimetype

JsonHttpResponse changed its API in Django 1.7.