Protobuf is a general tool for generating and management cross-language structures. A tool to generate proto from json is useful. [**Here**](https://gist.github.com/wweir/9113a689743efdc996bc086c22b89f4f) is such a tool written by me. Maybe you can reimplement such a tool with golang or mention it in the readme.