get_timeseries_dict: work out ctype if possible
data/tabs: optimise return when not needed