Use LinkedHashMap in some places where it can affect iteration ordering