add fields to serialized task