Make ES indexer to not use as_json
There is a problem with this method, even when we call as_json(only: :id)
it tries to load every attribute, which led to failings if our data is corrupted (it tries to deserialise fields) or invalid (for some GitLab models it calls even validation process).