Closes #29 by adding new "sparsetree" output format