reference loop detection in Beans.print()