Circular-json

You would have come acorss TypeError: Converting circular structure to JSON if you have been handling JSONs for a while now, circular-json serializes and deserializes otherwise valid JSON objects containing circular references into and from a specialized JSON format.