working on tree view json