Rails-encode array values in params.