[Elasticsearch] Forgot to map string endpoint representation to the real object.