added pdtree which is a true pandoc filter that dumps the tree to stderr