gbm: replace 1/0 bool with true/false