=rem #16428 optimize protobuf serializer for master

#16428 for master
@patriknw them are almost the same. for 100 millions message,so should I update to using ```caching method```?!
parser:8321
method:8648