Randomize XContentType for requests

The used XContentType is static and should be randomized per test.

Closes #5515