title: Replace single quotes with double quotes but leave ones within double quotes untouched
body: <p>The ultimate goal or the origin of the problem is to have a field compatible with in json_extract_path_text Redshift.</p>
  
  <p>This is how it looks right now:</p>
  
  <pre class="lang-py prettyprint-override"><code>{'error': "Feed load failed: Parameter 'url' must be a string, not object", 'errorCode': 3, 'event_origin': 'app', 'screen_id': '6118964227874465', 'screen_class': 'Promotion'}
  </code></pre>
  
  <p>To extract field I need from the string in Redshift, I replaced single quotes with double quotes.
  The particular record is giving error because inside value of error, there is a single quote there. With that, the string will be a invalid json if those get replaced as well.</p>
  
  <p>So what I need is:</p>
  
  <pre class="lang-py prettyprint-override"><code>{"error": "Feed load failed: Parameter 'url' must be a string, not object", "errorCode": 3, "event_origin": "app", "screen_id": "6118964227874465", "screen_class": "Promotion"}
  </code></pre>