Description
The taskManager defines task serialization, used to persist a task and additional information, in order to be accessible in a distributed context.
However, we rely on implicit Jackson serialization for returning task details over webadmin.
This results in confusing expectation as a developer. We furthermore "leak" jackson annotation in the details models.
We should rely on the DTOs for details serialization over webadmin.
https://github.com/linagora/james-project/pull/3382 is a trial to reach this prurpose.