ProtoJSON is a wrapper around jansson to allow dumping protocol buffers to JSON, it has allowances to handle extensions (And can shorten extensions if you use it to serialize to something like a REST API)