simplify code path of converting String to enum in StorageLevelAlias