improved dumping objects