serialization of complex types
.proto metadata type