Dump tree to stdout