Use res.get('json replacer') and give it preference over app.get('json replacer')