This demo builds a chart from nested list markup and exports the current chart back to hierarchy JSON with getHierarchy().