Improved object dumper to support class name and item block class name.