Refactor navigation_tree method to return just the necessary tree parts.