>Protobuf sounds like the wrong too
This sort of use for proto is quite common at google
It’s however somewhat common to pass in-memory protobuf objects between code, because the author didn’t want to define a custom struct but preferred to use an existing protobuf definition.