Basic JSON output enabled for QueryAll
Fixed buffering problem causing results to hang, and updated expected API version
Fixed encoding issue on query/all
Switched query doc to return JSON, corrected MIME type