Implemented serialize and deserialize Transaction.