Use LinkedHashMap to store routes to have a deterministic route lookup if more than one pattern matches.