Materialized workflow definitions

assert that convertedOriginal.states.size == stored.states.size