should i use just convert or is there something better for that .
You're using the right tool.
for the sake of testing i tried this on a completely new index and it keeps pulling the numbers as strings.
Please show an example document, e.g. by copy/pasting from Kibana's JSON tab.