const isArrayToErrors = (field) => {
            const value = ctx.request.body[field];
            if (typeof value !== 'undefined' && !Array.isArray(value)) {
                const newError = { [field]: `${field} should be an Array.` };
                ctx.errors = ctx.errors ? [...ctx.errors, newError] : [newError];