Change tundra.document:first and :last to fetch key and object first before adding to output cursor