convert(entities) {
    if (!entities) {
      return;
    }

    if (!Array.isArray(entities)) {
      return this.convertOne(entities);
    }

    return _.map(entities, this.convertOne);
  }
Abstract converter. Implements convert() which does argument validation and can convert both arrays and single items.
Requires this.convertOne() to be defined.