old_contents: 'use strict'
  
  module.exports = (document) => {
    const doc = {
      title: document.title,
      offTitle: document.offTitle,
      type: document.type,
      document: document.documentPath,
      distribution: document.distribution
    }
    if (document.distribution) {
      doc.filsti = document.documentPath
      doc.mimetype = 'application/pdf'
    }
    return doc
  }
  
new_contents: 'use strict'
  
  module.exports = (document) => {
    const doc = {
      title: document.title,
      offTitle: document.offTitle,
      type: document.type,
      document: document.documentFilepath,
      distribution: document.distribution
    }
    if (document.distribution) {
      doc.filsti = document.documentFilepath
      doc.mimetype = 'application/pdf'
    }
    return doc
  }
  
subject: Update documents-info.js