Normalizing various boolean representations to a standard format.