Application works with mobile app
Bugs fixed: \n symbol is added to the outJson, some double free corruptions fixed, invalid jsons were also fixed.