Initial support for protobuf serialization