code: function (record) {
        var recordToSend = { object: record };
  
        recordToSend.columnValues = this.getRecordColumnValues(record);
        recordToSend.searchKeywords = this.getRecordKeywords(record);
        recordToSend.filterValues = this.getRecordFilterValues(record);
        recordToSend.color = this.getRecordColor(record);
  
        return recordToSend;
      }
docs: Wraps a record and observers changes to it.
  @private
  @method wrapRecord
  @param {Object} record The record instance.
  @return {Object} The wrapped record. Format:
  columnValues: {Array}
  searchKeywords: {Array}