escape quotes and slashes in json