weird json date converse  issue in ES