make the Enum support save numeric key