I would like to convert a bunch of Stacktraces (StackTraceElement[]) into a tree-like structure. I.E. I have 3 Stack traces (simplified as Strings here) like