use types plugin for jstree, first draft