Add document.metadata.subject and document.metadata.date