Updated messageId def'n and updated JSON structure to show children