allow overridding of dumped type
add test for DumpListener
add test for DumpDataCollector