duce((acc, [tool, methods]) => {
                                    acc[tool] = Object.entries(methods).reduce((methodAcc, [authFlow, cmd]) => {
                                        methodAcc[authFlow] = Array.isArray(cmd) ? cmd : [cmd];
                                        return methodAcc;
                                    }, {});
                                    return acc;
                                }, {})
                                : {},
                        };
                