_end (name, result, opts) {
    let data = opts.raw ? result.data : result
    if (data && utils.isFunction(this.addToCache)) {
      data = this.addToCache(name, data, opts)
      if (opts.raw) {
        result.data = data
      } else {
        result = data
      }
    }
    return result
  }
Internal method used to handle Mapper responses.

@method SimpleStore#_end
@private
@param {string} name Name of the {@link Collection} to which to
add the data.
@param {object} result The result from a Mapper.
@param {object} [opts] Configuration options.
@returns {(Object|Array)} Result.