Add exporting of routing entries and fix up endpoint IDs to all match.