Issue #1021: Include the diagnosis notes in the JSON export
Done.