'Returns a copy of the internal tree in a JSON-friendly format,
ready for consumption by jsTree.  The data is represented as a
list of dictionaries, each of which are our internal nodes.'

def jsonData(self):

    return [self._root.children[k].jsonData() for k in sorted(self._root.children)]
