So that you can add custom css classes

This allows you to add custom css classes for the different states that the treeview is in and having them selected by putting something like "classCollapsed" : "cssClass" in the json.