Tidy messy serialization for some 1.4xx versions of Jenkins