Change the way uri params are replaced