Strip metadata from documents before publishing
