build jstree data