Revert "Fixed json stringifying with circular object references."

This reverts commit 8b4cff1e9b09f24ae5919a0b2f1845ea4b62521c.
Prevented circular object references using json-stringify-safe