and storing it in a data table
You can’t store dynamic data in a Data Table. They’re read only. But look into how Map + Struct works. It will give you an identical result but without the snazzy interface which you do not seem to need anyway.