code: function datesTransformReviver(key, value) {
  
      if (key === DATES_FIELD) {
        dates = value
        return null
      }
  
      if (value && typeof value === 'object' && value.hasOwnProperty(DATES_FIELD)) {
        for (const prop in value) {
          if (value.hasOwnProperty(prop) && dates.indexOf(value[prop]) !== -1) {
            value[prop] = new Date(Number.parseInt(value[prop]))
          }
        }
  
        datesHolders.push(value)
        dates = undefined
      }
  
      if (key === '') { //root object
        datesHolders.forEach(datesHolder => {
          delete datesHolder[DATES_FIELD]
        })
  
        datesHolders = []
      }
  
      return value
    }
docs: A JSON.parse reviver which resolves encoded dates. Based on ___dates___ meta field
  @param {String} key
  @param {*} value
  @returns {*}