Fixing bug in url encoding when array is given. (Rest Client Issue #213)