New tree structure, that reflects actual UI and JSON structure.