agent: fixup all check definitions from json config