fix issue caused by using unescaped quotes within json embedded cyhper query