Fun fact a bunch of people I know have been using chatGPT to unpack nested structs and such works. It is supremely good at generating boilerplate for tasks like this. Its a hit / miss sometimes.. but it generally works with minor tweaks