Fix Int64 parsing.
Add SHAMaps, metadata serialization and transaction hash calculation.