=rem #16428 optimize protobuf serializer for master

#16428 for master
No worries, we won’t release 2.4-M1 before Christmas anymore in any case. Thanks for your perseverance!=