Randomize xcontent type