converted site sections to tree structure