class EntryToMapConverter {

    MapEntry asMap(Parameter metadata, ParameterEntry parameterEntry) {
        MapEntry map = new MapEntry(parameterEntry.getKey());

        int index = 0;
        for (Level level : metadata.getLevels()) {
            map.put(level.getName(), asObject(level, parameterEntry.getLevels()[index]));
            index++;
        }

        return map;
    }

      EntryToMapConverter(ParamEngineRuntimeConfig engineConfig);

}