Make params an object instead of an array
Merge pull request #1 from paolo/feature/params_as_object

Make params an object instead of an array