fixed date_time clash with pattern. cleaned stray comma. moved sensor_name to the top lvl