lib/classes/Service.js/Service/mergeResourceArrays
class Service:  mergeResourceArrays() {
    if (Array.isArray(this.resources)) {
      this.resources = this.resources.reduce((memo, value) => {
        if (value) {
          if (typeof value === 'object') {
            return _.merge(memo, value);
          }
          throw new Error(`Non-object value specified in resources array: ${value}`);
        }

        return memo;
      }, {});
    }
  }