Use rails convention for arrays in query parameters

@hojberg @barnabyc