title: Problem printing json data from python script
body: <p>I have a python script that should print json data. </p>
  
  <p>This is what I have in my script:</p>
  
  <pre><code> finaldata = {   
    "date": datetime.datetime.utcnow().isoformat(),
    "voltage_mv":emeter["voltage_mv"],
    "current_ma":emeter["current_ma"],
    "power_mw":emeter["power_mw"] ,
    "energy_wh": emeter["total_wh"],
      }
  
      print(finaldata)
  </code></pre>
  
  <p>I am running the script from Node-RED because I need to send the data to a storage account (in json format of course). The Problem is that the data that is being sent looks like this:</p>
  
  <pre><code>{'power_mw': 0, 'date': '2019-04-16T07:12:19.858159', 'energy_wh': 2, 'voltage_mv': 225045, 'current_ma': 20}
  </code></pre>
  
  <p>when it should look like this in order to be correctly stored in my storage account:</p>
  
  <pre><code>{"power_mw": 0, "date": '2019-04-16T07:12:19.858159', "energy_wh": 2, "voltage_mv": 225045, "current_ma": 20}
  </code></pre>
  
  <p>(important for later use, since I already get errors in the storage account).</p>
  
  <p>Does anyone know why this is happening and how I can fix it? Thanks in advance</p>