`merge_params` merges hashes in an array

`merge_params` merges hashes placed in a array.

```
:templates=>[{:templateid=>12223}, {:templateid=>12224}]}
```
is merged and cenverted in JSON like the following:
```
"templates":[{"templateid":12224}]}]
```