fix problems with polymorphic job deserialization in jackson in backwards compatible way