Update parsingtext.cpp to generate the required json string