Support deserializing '0' and '1' for boolean values