Read CSV values as double not String value

Hi Team,

we want to post longitude and latitude values to serve as a double type.

Data From Csv file :

`

longitude,latitude
0.11642906069756,51.56821839529405
0.12934455275534,51.57039658744552
0.1680904179811,51.5555230827194

`

Here is Request Body :

`

{
  "objectId": "123121212",
  "timestamp": "2018-10-12",
  "position": {
    "coordinates": {
        "latitude": "${latitude}",
      "longitude": "${longitude}"
    },
    "type": "point"
  },
  "headingDegrees": 100,
  "velocityKph": 50,
  "gpsSatellites": 50
}

`

I am reading data from csv and feed into json but its parsing as a string value, I want to send those values as double type.

can you help on this.

Thanks,
Raj