code: function toObject(arr) {
      var obj;
      if (Type.isArray(arr)) {
          obj = {};
          arr.forEach(function (item, index) {
              obj[index] = item;
          });
          return obj;
      }
      throw new Error('Core.toObject: Value is not array');
  }
docs: @since 0.0.1
  @author Igor Ivanovic
  @function toObject
  
  @description
  Array to object conversion