Put multiple used properties/references in additional DB connections instead of storing them in document.data:
reference (document)
reference_type (document_type)
document_reference (graph)
graph should only be used for real graph connections.reference are additional information.