now with new re-serialisation code that configures json treeContent and treeStructure pairs to work with the finicky javascript on the site