escape strings only for "alert" key