Use 'field' rather than 'fields'

For single field you should now use 'field' key rather than 'fields'.
Some keys are provided if value is empty
Merge pull request #1 from fac/es-1.4

Elasticsearch 1.x support