docs: function _castField(Model, record, field) {
      let value = record[field];
      let type = Model.attributes[field].type;
  
      if (type === 'text' || type === 'string') {
          value = '' + value;
          record[field] = value;
      }
  
      return value;
  }