To anyone else who had to parse early KiCad file formats, where the parentheses and quoting on S-expressions was more of a guideline than a rule, I salute you.
I thought early KiCad was non or only partially S-expressions, but new KiCad is all S-expressions? Anyway haven't had parsing issues in years and exports to MCAD work very well.