dictionary router for flexible, data-driven routing