removed QJson and added json_spirit
stopped using ScopedQObjectPointer because calling deleteLater() in a QObject desctructor has problems