Refactor case mapping strings