Fix boolean serialization (already done on scheduler-dev.)