Rails-encode array values in params.

This allows array values in params, e.g. from filters.