generate jstree data in view