Proper deserialisation of transaction.