mongoose model for general time series data