DocXGenerator: remove duplicate with hash in metadata field