code: 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;
  }
docs: If we pass an ID as a number but the schema
  has id defined as text/string we will fail
  to match the record. This is a quick fix.
  
  This does not solve the issue of references,
  e.g. `{id:1, user:1}`.
  
  @param       {Object} Model               Waterline collection
  @param       {Object} record              Instance attributes
  @return      {Mixed}        Value after casting