rename tree to depthfirst
json export should not include scratch b/c it can contain circlular refs (and too much data besides...)
remove old tests that were used when making the style class; these tests don't test a public API so they should be removed