How to modify editor blueprint actor assets from C++ or BPU

What is the correct method to manipulate blueprint assets? I need to write some tooling for bulk updates.
AActor::GetActorClassDefaultComponents has luckily been formalized, but does not provide mutable components. USubobjectDataSubsystem appears to be the correct way to add/remove components, but again does not have a mutable API.