Compress registry and API responses