fix mis-converted boolean field

allow for boolean that is storing hexadecimal values '\x01' and '\x00' for true and false.