change boolean property to regular type literal with boolean attribute