[java] Freemarker iterating over hashmap keys