Added check to bypass HttpResponseWrapper for versions of django >= 1.4
Compatibility fix for JSON emitter with Django 1.5