Simplify map-traversal-dispatcher by putting endpoint-fns inside dispatch-map