common: fix JSON encoding of RevisionValue - was not correctly transforming from Protobuf to JSON
common: add better support for debugging JSON problems to MessageLibrary