This doesn't even handle all known cases yet and is pretty verbose, but successfully demonstrates consuming protobuf data from scripts.