Add support for `arbitrary_key` feature in the integration test. Ref: https://github.com/elastic/elasticsearch/pull/40052