Optimized get_values for many data sources.