I think I'd make this map a constant and define it at the top of the file, rather than a function.  Any time you are hard-coding data it's nice to try to make it a constant and to make it really visible to other developers by putting it up near the top.