Add DOM dumper for comparing DOM tree.