Protocol Buffers are amazingly useful, even if they aren’t the fastest serialization format on the block. Surprisingly though, they lack one important feature: deterministic serialization. Fortunately, there’s a simple hack to get around this.