In case normalizedName is a Symbol the line below would not work as expected. But I assume it is more about triggering toString at the right time and/or ensure the key in some map is a string.