Dumping reference types and cyclic structures