Date/Datetime flags in YAML file are not recognized

I have set up a YAML file with the flags for my single operation. When I run the guild run command, all flags get imported except for date and datetime flags. Will I have to write them as strings and parse them into dates myself on my main script?

Contents of my YAML file:

N_LEADS: 30
WINDOW_RANGE: [-395, -1]
LAST_EOM_TRAIN: 2019-12-31
LEAD_RANGE: [-60, -50]
N_ESTIMATORS: 2
EOM_PRED_BENCH: 2021-07-31 00:00:00
AS_OF_PRED_BENCH: 2021-06-01 00:00:00

What shows up when running the guild run command:

You are about to run main
  LEAD_RANGE: -60 -50
  N_ESTIMATORS: 2
  N_LEADS: 30
  WINDOW_RANGE: -395 -1

Thank you for your help!