Implemented gzipping of JSON data