change result from 2d array of pairs to array of maps since replies are unordered