Issues creating a Details Panel customization which recursively auto-expands all members of a referenced UObject.

I am trying to write a Details Panel customization which recursively auto-expands all members of a referenced UObject (think: display all members and expand them as much as possible, i. e. all nested structs and arrays down to the lowest level), whenever I select a node on a custom graph. I have looked into every class overriding IDetailCustomization::CustomizeDetails and tried a lot of the approaches, to no avail. Most of the time, I lose the original structure of the properties or the visuals don’t get updated when adding new elements to e. g. arrays via the Details Panel.

Any insights on this would be much appreciated.