Converts the DID document to a dictionary representation.
The dictionary representation of the DID document.