Save full TrialHandler in hdf5 file


I’d like to save all data in the TrialHandler or TrialHandler2 objects in the hdf5 produced by iohub. However, TrialHandler data does not get saved if a column consists of an list or a numpy array. I’ve tried this for both TrialHandler and TrialHandler2. I’d like to save this in hdf5 because I’m also recording eyetracking data so it would be nice to have everything together in one file. I know I can send messages of events to hdf5 file using sendMessageEvent() but I thought it would be nicer to have everything to have in a single table like with TrialHandler data. Any thoughts if this is possible?