code: function _cleanArray (memo, value) {
    if (_hasData(value)) {
      return memo.concat(value._data.data);
    } else if (_.isArray(value)) {
      return memo.concat(_.reduce(value, _cleanArray, []));
    } else {
      return memo.concat(value);
    }
  }
docs: cleans an array of nodes/rels