code: function _cleanObject (memo, value, key) {
    if (_hasData(value)) {
      memo[key] = value._data.data;
    } else if (_.isArray(value)) {
      memo[key] = _.reduce(value, _cleanArray, []);
    } else {
      memo[key] = value;
    }
    return memo;
  }
docs: copies only the data from nodes/rels to a new object