I have a nested dict, which is actually coming from a .hdf5 file. The structure is something like this:
{bookname: {bookimage: array_of_features}}