Rewrite to QJSON library parsing