convert params to HashMap which is always serializable

as I explained in this [issue](https://github.com/tudor-malene/Easygrid/issues/92)
http://stackoverflow.com/questions/10782548/grailsparametermap-is-not-serializable-in-grails