idiomatic conversion of booleans to string