support hash and array for query parameters
Merge branch 'hash'