Rename to be more expressive
Substitute strings rather than mapping them

I still use a hash to map the replacements as it makes adding new
replacements a lot easier later.