Fixed bug with array parameters in post() and get()