json template for the tree