Migration tool for time series data from mongodb to influxdb