serialize protos instead of descriptors