Correction of document_id AND metadata now exported