fix to get distributed query response data format in line with what Peter needs