How to Iterate and update struct values from one struct to another

It looks like your use case might be similar to the one I tried to answer in another thread here: Convert string to nested structure. Do any of those solutions work for you?