Separate the circular ref in JSON issue from the dumping of duplicate pointers issue.