perf: use HashMaps instead of LinkedHashMaps