No need to assign here, either use the implicit `it` variable or alias it at the top of the closure as in;

```
def params = aMap.collect { thisParam ->
...
}
```