Project: datamanagement
Issue DM-1349: Change marshaling code to use json
The marshaling code for non-standard (i.e., non-filterable) components of messages is custom and not standard. Change this to use JSON.
Story points: 10