Part of the clean up will be to remove any responsibility from the deadline plugin for setting any job specific data. That means the user would have to specify;
Frames for job data, and
SceneFile for plugin data. This would simplify what get handled in the plugin, as all it would do is to format the job and plugin data.
The remaining data members required would be
instance.data["deadlineData"]["plugin"]. The optional data
instance.data["deadlineData"]["order"] remains unchanged.
ExtraInfoKeyValue dictionaries are found in the job data, they will be formatted correctly.
These are rather large changes, and definitely not backwards compatible, but I'm hoping this will simplify the responsibility of the submission plugin to pretty much just formatting of the data, meaning it would become more flexible for other users to utilize in their pipeline.