Following suit from @afischer211's modifications to publish-over-ssh-plugin (https://github.com/afischer211/publish-over-ssh-plugin/commit/860c30b17234a39e6c4fde52504b640604514fa1)

This change reverts to the base-class's readResolve function so that XStream doesn't encounter errors with reflection. Before adding these lines, the plugin does not persist the configuration after restart