replace toString and fromString for enums with raw valued enums for brevity