Fix deserialization.
Fix deserialization.

leotsem/django-elasticsearch,alsur/django-elasticsearch,AlexandreProenca/django-elasticsearch,liberation/django-elasticsearch,vokal/django-elasticsearch,sadnoodles/django-elasticsearch