convert string to int and provide a Int->String map for reference