ids were based on the string, rather than the actual object which causes incorrect detection of circular references (#303) Fix #295 Co-authored-by: Dirk-Philip van Herwaarden <dirkphilip@dirkphilipsmbp.home>