Added asObject to fetchPairs()