* chore: tree performance * chore: build index value * chore: get tree index * fix: children key * fix: test * fix: tree child to json * fix: tree with fields