add true/false/string toggle support