Boolean attribute values are now outputted correctly