Can now read JSON instead of hard-coded outcomes