Finish off document and hash deserialization