It could be better to return instances of a custom class than the tuples (ideally ```dnf.transaction.TransactionItem```, but I was not able to restore packages using currently stored YumDB information).