IFormatter wrapper for Protobuf serialization