Special support for serializing Digest