text: Title: Replace the `dict` response in `load_existing_datasets` with a Pydantic class
  Body: We should avoid passing loosely typed dictionaries around if we can avoid it. This should be replaced by a Pydantic class.
  
  Note: This is in `BufferedLogger`.