gzip json output from http server