title: How to convert bytes containing a string of a list into a Python object?
body: <p>I have a bytes object <code>bytes_start</code> containing a string of a list and I want to turn it into a Python object.</p>
  <pre><code>bytes_start = b'&quot;[{\\&quot;method\\&quot;: \\&quot;NULLABLE\\&quot;, \\&quot;title\\&quot;: \\&quot;Customer\\&quot;, \\&quot;type\\&quot;: \\&quot;STRING\\&quot;}, {\\&quot;method\\&quot;: \\&quot;NULLABLE\\&quot;, \\&quot;title\\&quot;: \\&quot;Vendor\\&quot;, \\&quot;type\\&quot;: \\&quot;INTEGER\\&quot;}]&quot;'
  </code></pre>
  <p>I tried using <code>new_bytes_start = json.dumps(bytes_start)</code>, but that did not work. How can I use Python 3 to get the following result?</p>
  <pre><code>new_bytes_start = [{&quot;method&quot;: &quot;NULLABLE&quot;, &quot;title&quot;: &quot;Customer&quot;, &quot;type&quot;: &quot;INTEGER&quot;}, {&quot;method&quot;: &quot;NULLABLE&quot;, &quot;title&quot;: &quot;Vendor&quot;, &quot;type&quot;: &quot;FLOAT&quot;}]
  </code></pre>