update for new json format

I adopted the new JSON format of jsTree: http://www.jstree.com/docs/json/ so that the package will work with the current jsTree version.