Thrift serialization / deserialization + custom digests with unit tests.