ElasticSearch will always convert the IDs to a string.

The ORM can have either a string or an integer for their ID.