Better gzip support

Now will gzip JSONP and not buffer the json output in memory.