Handled date format for json response