Parsing Str to enum works