Fixed tiny JSON serialization bug with Date strings.