Changing sidebar to be a treeview using a single index.json file