if (!config || !config.byKey || !config.from || !config.to) {
        var error = new Error('invalid config fo step "arrayToObject"');
        error.config = config;
        throw error;
    }