Store timeseries data correctly