fix(enum): Correct interface for no alphanum enum keys (closes #4672, #4675)