[Mi9 test] moved json parsing inside try catch