catching circ references in stringify