replace Time object in YAML with plain string