SparkPlug Packet structure

Sparkplug uses google photo buffs as the medium of communication. In a C application, how can MQTT payloads take full advantage of proto buffs when publishing to a topic? Traditionally, payloads are JSON strings that require parsing, however, ideally, photo buffs should be able to use proto-buff types.