fix(enum): Correct interface for no alphanum enum keys (closes #4673, #4674)