Changed HED_tree to simple dictionary