components.forEach(function (element) {
        if (componentsPerCase[element.cases] === undefined) {
          componentsPerCase[element.cases] = []
        }