Feature/fix gzip decompression