title: TypeError: Object of type 'Tag' is not JSON serializable
body: <p>I am trying to create a <code>JSON</code> object and send it to the <code>Firebase Database</code> using <code>python</code>, but when I do this I get:</p>
  
  <p><code>TypeError: Object of type 'Tag' is not JSON serializable</code></p>
  
  <p>Here is my code:</p>
  
  <pre><code>data = {'address': address,
      'name': name
     }
  
  print(type(data))
  sent = json.dumps(data)
  result = firebase.post("/tHouse/houseTest", sent)  
  </code></pre>
  
  <p>The is something wrong with <code>json.dumps(data)</code> since the error is pointed out here. Running <code>print(type(data))</code> returns though <code>&lt;class 'dict'&gt;</code>.</p>
  
  <p>Also the <code>name</code> and <code>address</code> are set beforehand</p>