Replaced HashMap with ListHashMap. Fixes jdk8 error