Saving logic as json, for now when a state has more than on outcome, randomly choose one. States no longer have to be unique