This commit is part of our plan to deprecate and ultimately remove the use of _xpack in the REST APIs. Relates #35958