Added generic BoolToValue converter. Also added type attribute