add dump function to DCaseTree