gzip/unzip data, implement as plugin with c