Make sure we correctly serialize boolean values.