fix(enum): escape comma in enum keys (refs #5045)