replace deprecated RepositoryResult.asList with Iterations.asList