Yep, protocol buffers are like a cross-language type system for the data that moves between systems with the side benefit of compact serialization. They're awesome and definitely a big productivity boost above a certain scale.
Something like this would have indeed saved us a lot of time in the long run. Oh well.
https://developers.google.com/protocol-buffers/