allow Message#to_hash to pass false but not nil fields