Handle data type translation properly before transmitting to influx