check email, escape quotes in json