added gzipping of the response