method is table and not tables. We need to retrieve the datafile with time_format='raw'
so it can be converted to json.