Support sync behaviour for serializing and support serialized workflow input