ENGINE-1655 : Make Works Serializable
In works for connectors :
- Replace process definition by its id
- Replace connector instance by its id