convert rc-style runScript commands to wd execute commands
ensure cookie values are strings