added get list of objects given a ResultScanner or Result[]