A nicer API for dealing with text replacements in Discourse's parser pipeline