Switch to hashed parameters method for handling replace_route arguments