Unescape parameter values before storing in the state