Currently using dataclasses to serialise and deserialise jobs. We're already using Pydantic for settings and we're jumping through hoops to use dataclasses currently. Plus we don't get class attributes with intellisense on the worker-side currently. Runtime validation would also be easier.