I didn't even know enums had the _str_map.... damn, that could have saved me so much trouble.