Adds fn in soql ret map to allow pagination traveral