return the dates in str format instead of datetime. Makes the web API happy.