add nested support for JsonMessage

Change-Id: I4112d5a562f2bb24d1a2e1e8a410f86480d57884