collective/eea.facetednavigation — pull request #14 by kagesenshi (2012-08-17 12:59:06+00:00)
Title: set Content-Type header to application/json after self.index() 

self.index() sets the content-type to text/html, rendering the json unusable when Diazo is enabled due to it ended up being wrapped with tag.

this patch reorders to the code to set Content-Type after calling self.index()