Encode 2i index query results with values as RpbPairs