Issue #3100871 by kadamk, bojanz: WorkflowState and WorkflowTransition doesn't cast to string properly