ToDygraphFormat, return TimeSeries as json