added metadata fields to DB export