Simplifying the regex by removing unnecessary escapes of double quotes