esworker: cast to int/float values for fields ending with _int/_float

If we cast everything to unicode, we cannot have histograms in Kibana with the data casted.