code: function deserialize (rawData) {
    return JSON.parse(rawData, function (k, v) {
      if (k === '$$date') { return new Date(v); }
      if (typeof v === 'string' || typeof v === 'number' || typeof v === 'boolean' || v === null) { return v; }
      if (v && v.$$date) { return v.$$date; }
      if (v && v.$$regex) { return deserializeRegex(v.$$regex) }
  
      return v;
    });
  }
docs: From a one-line representation of an object generate by the serialize function
  Return the object itself