Be able to export Element in json for jstree