title: Getting the structure of a raw queryset in django to serialize it or to browse data
body: <p>Doing:</p>
  
  <pre><code>datas = models.Lfsa_eisn2.objects.raw("SELECT id, AREA_CODE_ID, OCUPATION_ID, YEAR_ID, GROUP_CONCAT(`cipher` separator ',') as `cipher` from core_lfsa_eisn2 group by  AREA_CODE_ID , OCUPATION_ID,YEAR_ID" )
  
  datas = list(datas)
  
  print datas
  ...
   OC9 Elementary occupations
   S Other service activities
   2012 UK United Kingdom
   True     
   45.0,4.3,12.8,16.8,16.0,2619.3,:,60.2,57.2,247.4,344.0,208.2,5.5,42.4,455.5,87.1,233.4,24.1,168.6,180.5,362.2,:,43.9&gt;]
  ...
  </code></pre>
  
  <p>Where for example <code>0C9(OCUPATION_ID)</code> is the foreign key pointing to Elementary occupations.
  I'd like to do something like <code>datas.ocupation_id</code> to get OC9 or Elementary occupations.
  Do you know how to get the meta data structure of the raw object? </p>
  
  <p>It should be something like print <code>datas.meta</code> or <code>datas.field</code>s...I didn't get after quite time looking and trying...</p>
  
  <p>I want to obtain some info like this:</p>
  
  <pre><code>[{'id': 1, 'OCUPATION_ID': 'Elementary occupations', 'AREA_CODE_ID': 'United Kingdom'}]
  </code></pre>
  
  <p>In resume, basically I do not understand the structure of the raw queryset object data structure to access to it and later to serialize for JSON. What are your advices?</p>
  
  <p>Thanks in advance!</p>