BZ-1072840 - JAXB exception due to serialization of task parameters (NPE fix)
(cherry picked from commit e54d08511aae58d1ceb98dd5b67bfff0026627a4)