public void serialize(JsonGenerator jsonGenerator) throws IOException {
        jsonGenerator.writeStringField(COMPRESSION_TYPE, compressionType.name());
        jsonGenerator.writeNumberField(UNCOMPRESSED_SIZE, uncompressedSize);
    }
Contains info relevant for compression and decompression.

@author Ulf Lilleengen
config/src/main/java/com/yahoo/vespa/config/protocol/CompressionInfo.java