Additional checks to ensure correct json parsing
Removal incorrect cmake file