In JSON of scenarios, convert period to a string instead of a dictionary.