JSON does not handle circular references. Now it does