private Object fromString(Map<String, String> map){
        try {
            Class cl = Class.forName(map.get("class"));
            Object obj = cl.newInstance();
            for(Field field : cl.getDeclaredFields()){
                field.setAccessible(true);

                //field.set(obj, map.get(field.getName()));
            }
            return obj;
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }

        return null;
    }