add unit test for Document.extend()
Extend the design of the document package to allow for document serialization formats other than JSON.
Add support for YAML documents.