JSON.stringify on sub-objects for messages