refactor: remove some duplication in dm_soundex map