[Dev] Improved the Protobuf (PB) export. The pyopentrep script now works the same way through both JSON and PB.