Fix json parsing for CFT params