use ns_urlencode/ns_urldecode if available. Alternative way to store encodeing maps in a namespace variable