This looks much better, seeing it now consider removing the parameters temporary variable all together a la;

```
return aMap.collect { thisParam ->
    "${encode(thisParam.key)}=${encode(thisParam.value)}"
}.join('&')
```