Fix protobuf seri

...g collection

Fix bug in protobuf serializer