code: function castRecordDateFields(record) {
    _.forEach(record, function (value, key) {
      if(_.isString(value) && iso.test(value)){
        record[key] = new Date(value);
      }
    });
  }
docs: Convert ISO formatted strings on response object into Javascript Date objects.
  Used to cast date fields returned from HTTP response into their correct Date type.
  @param {Object} record - response record object to process.