added support for array parameters in query string