Cast field data that is wrapped in an array from elasticsearch v1

Elasticsearch v1 returns field values as an array when using `fields` option.

https://github.com/elasticsearch/elasticsearch/issues/4542