Made util fetch_data and added json return time_series_data method/controller.