Fix bug in JSON syntax.
Use python to push data to db.