Fix bug with variable name.
Refactor to create an object TreeWidgetJSON that inherit from QtGui.QTreeWidget.