Fix encoding of parantheses in put requests