This is something that will need to come from the backend, as part of the feature branch data.
As you have been taking great care to provide properly hierarchified branch info, the frontend code only needs the root branch, and work with its `children`. A lot of the branch data that comes in the JSON is redundant and I don't think we really need it.