Replace HashMap with LinkedHashMap => deterministic iteration order