[JBERET-43] Allow JobInstanceImpl to be serializable.

[JBERET-43] Allow JobInstanceImpl to be serializable.