JSONC is one attempt, of many, to improve JSON. Other formats that try to do something similar include YAML and JSON5. Each ...
JSON correctly converts namedtuples to lists when they appear in list form, but not when used as value in dictionary. Seems to work the same on mpy verion 1.20 - 1.26, running on Pico, Pico2 , Arduino ...