title: How to extract the data from an ImmutableMultiDict
body: <p>I receive my data as an ImmutableMultiDict</p>
  
  <p><code>ImmutableMultiDict([('slim[]', '{"server":[{"status":"SUCCESS"}],"meta":{},"input":{"name":"sample-img.jpg","type":"image/jpeg","size":41319,"width":400,"height":300},"output":{"width":400,"height":300,"image":"data:image/jpeg;base64,/9j/4AAQ....</code></p>
  
  <p>I convert that to a dict   </p>
  
  <pre><code>data = dict(request.form)
  </code></pre>
  
  <p>After converting to a dict, I end up with the data in this format.</p>
  
  <pre><code>{
  'imageUploaded': 
      ['{     
      "server":[{"status":"SUCCESS"}],
      "meta":{},
      "input":{
                  "name":"sample-img.jpg",
                  "type":"image/jpeg",
                  "size":41319,
                  "width":400,
                  "height":300
              },
      "output":{"width":400,"height":300,"image":"data:image/jpeg;base64,/9j//WmZyP/2Q=="
          },
      "actions":
              {
                  "rotation":0,
                  "crop":{"x":0,"y":0,"width":400,"height":300,"type":"manual"},
                  "size":
                  {
                      "width":640,"height":640
                  }
              }
          }']
  }
  </code></pre>
  
  <p>I have tried  </p>
  
  <pre><code>data = json.dumps(dict(request.form))
  a = json.loads(data)
  print(a['imageUploaded']['output']['image'])
  </code></pre>
  
  <p>But I get this error</p>
  
  <blockquote>
    <p>TypeError: list indices must be integers, not str</p>
  </blockquote>