escape string in sync post body with JSON.stringify