change batchpreviews response to key value papairs