Implement ProtoBuf serializer