Convert to and from generic object.
Implement custom property to allow object properties being flagged with attributes.
Create dummy test object.
Test to and from document conversion.
Implement patch operation for edges.
Refactor conversion from/to object/document.