gzip compress api response (json)