Could you simplify by using indexed_param? Something like:
```
hash = {...}.merge! Fog::AWS.indexed_param('AttributeName.%d', [attribute_name])
```