updates the taskchecking logic to allow for custom json input