Converting maps back to gzip compression

Older clients can't read zlib.