Add extracted fields to metadata