Implementing Fetching Records from DynamoDB: Transforming Loop into a Stream - Effect Community