Create routes from objects, instead of parameters.