title: Create dictionary from unwieldly string of keyvalues
body: <p>I need to transform a list of strings similar to this:</p>
  
  <pre><code>"ABOC000  RECORD     0 Msg-type\=0220  Bit-map\=3450G83H403894JH Xbit-map\=0000000000000010 Proc code\=312000  Tran amt\=000000000000 Tran datetime\=0613064645 Trace nbr\=000000 Local time\=02:46:37 Local date\=06/13 Exp date\=24/02 Sett date\=06/13 Merchant\=6011 Pos entry\=051 Card seq no\=000 Acqr inst id\=2349823498 Cord \=23049583049583405983045983405983405900 Retr ref\=111111111111  Resp code\=00  Crd acpt trmid\=CS61252 Crd acpt id\=ISPA/PULSE Crd acpt loc\=000 8TH AVENUE         BOREALIS     XXUS Name\=MERCHANT NAME Tran curr\=840 Natl cond code\=1010000002U Reason codes\=004 Rsn code map\=40 Advice reason\=31 Ddsi data len\=022 Ddsi data map\=B2 Pseudo term\=070792 Acqr netid\=PUL Processor id\=INT789 Proc flags\= Info text\=NI24PS20ID16              03 "
  </code></pre>
  
  <p>into a list of dicts with key/values.</p>
  
  <p>This is using python 3.7 -- I've gone down the list comprehension and regex paths, but have not found a workable solution yet. The difficult lies around:</p>
  
  <ul>
  <li>keys and values sometimes being multiple words (having spaces)</li>
  <li>some keys not always being present</li>
  </ul>
  
  <p>A short example of what I'm aiming to end up with:</p>
  
  <pre><code>[{"RECORD":"0", "Msg-type":"0220", "Bit-map":"3450G83H403894JH", "Xbit-map":"0000000000000010", "Proc code":"312000" ... }]
  </code></pre>