added uri decoding to REST params