Simplify output for circular refs