Hi
@User this looks really confusing - I have two ideas coming to mind: (1) Use a breakpoint to inspect the objects at write time and verify if things look correct (2) A quick google suggests this library may be worth exploring
https://petastorm.readthedocs.io/en/latest/index.html#