constructor(container = defaultContainer) {
    this.container = container.container || container;
    this.name = 'arrToObj';
  }
Constructor of the class
@param {object} container Parent container, if not defined then the
   default container is used.