This doesn't seem right. The lines below attempt to look up the value of the key again, but don't apply the `tr` conversion.