Support passing false / true as text as a state value