Yep, sorry, missed that in the first place. According to the [docs](https://docs.djangoproject.com/en/1.5/ref/request-response/#passing-iterators) passing iterators is deprecated. Am not sure about file-like objects as it is also stated that since 1.5 responses could consume them lazily. Calling ``json.dumps`` is more explicit here, imho.