WIP read trees from JSON