modified grid query return result so that it allows client to display proportions of each data source