clean up and fix treebuilders for test branch
respond with the actual document instead of a stupid message