title: Convert a tuple into a dictionary
body: <p>I've looked all over the internet and consulted a few books but I can't seem to find an example that illustrates what I am trying to do. I loathe to ask this on SO because it feels like a really basic question but I've been banging my head against the wall for the last few hours so here it goes:</p>
  
  <p>How do i turn this:</p>
  
  <pre><code>   item = ((100,May),(160,June),(300,July),(140,August))  
  </code></pre>
  
  <p>into this:</p>
  
  <pre><code>                {
                  item:[
                      {
                          value:100,
                          label:'May'
                      },
                      {
                          value:160,
                          label:'June'
                      },
                      {
                          value:300,
                          label:'July'
                      },
                      {
                          value:140,
                          label:'August'
                      }
                  ]
                  }
  </code></pre>