Replace QJson with Qt's own JSON handling in Qt5