Add a method to get a StringMapEntry from a pointer to the string