private void mapify(ArrayList<String> list) {
        String key, value;
        int delim;
        map = new HashMap<String, String>();
        for(String s:list){
            delim = !s.contains(";") ? s.indexOf(":") : Math.min(s.indexOf(";"), s.indexOf(":"));
            key = s.substring(0,delim);
            value = s.substring(delim+1);
            int index = 1;
            while(map.containsKey(key)){
                key = key + "_" + index++;
            }
            map.put(key, value);
        }
    }