Fix JSON parsing bug in DateTime