Thanks for the reply!
One question though: it says in the docs that " Groups work like dictionaries, and datasets work like NumPy arrays". In my case, the dataset should contain dictionaries (with an image and metadata keys). However, most examples I see have only integers/floats in them. Will hdf5 handle this well?