Protobuf serialize behaves incorrect

I have opened this thread earlier but there wasn't much help there.
Has anyone used protobuf and faced this issue or is it only me?
I tried to open a bug report but for the past 15 hours, there's no answer to that either I am just stuck with this issue.

This conversation can continue on the linked Stack Overflow question and on the issue.