Fix QJsonDocument parsing