nothing like this currently exists. we have considered this more generally in the context of an image converter, but even something as simple as zipping depends on sizes and software.
it’s possible to intercept this at the level of interface + node. and perhaps simply for the spm interfaces, they could be made to unzip on the fly and zip the output.
many file systems handle compression behind the scenes. perhaps consider looking into something like that as well.