Bugfix for dumping raw objects.