I think using this protocol plugin https://github.com/aperturerobotics/protobuf-go-lite would simplify generation of compatible protobuf marshaller/unmarshaller for both host and guest.