serialize JSON before sending it over the wd wire, fixes issues with IE