code: function stringify(object) {
      var seen = [];
      return JSON.stringify(object, function(key, val) {
          if (val !== null && typeof val === 'object') {
              if (seen.indexOf(val) >= 0) {
                  return undefined;
              }
              seen.push(val);
          }
          return val;
      });
  }
docs: /*
  Removes cyclical dependencies.