updates of metadata handling to include processingTime and to set default for metadata aggregation in binning to FIRST_HISTORY