Escape characters so json is built properly.