transcoder: use existing replacement_dict .replace method

refs #6911