modify routing to use an hidden attribute instead of magic service id in routes