"Message" data type conversion to JSON in Base.

Nested messages can now be converted from message to JSON format, but
not the other way yet.