I looked at the first two images, and what I think is the major issue is not shooting at f/22--but shooting with a very substantial amount of blowback light that is flooding through the lenses and frames, and coming right into the lens. I can see the blowback...the basic issue is that you are using a light tent, and simply FLOODING the shooting area and the product with massive amounts of back-light, and the lens is being flooded internally, with light that is causing a major loss of contrast.
Most lenses, when located physically too close to the light that is flooding the light tent, will suffer from overall veiling glare--an overall softening and flaring of the image. A significantly longer lens, located three times farther away, would help dramatically lower the intensity of the light. Also, a really GOOD lens hood, like a compendium lens hood, or even a cardboard makeshift hood would help.
Another thing that would likely help is to position three black cardboard gobos, to block light that is hitting the tent area from hitting the lens front. In this type of shooting scenario, you need a GOOD lens shade, and also, you need to minimize the amount of light that is reaching the camera position; gooseneck arms clamping to the front of the shooting table are the cheapest solution, using blackened styrofoam, which is the most light-weight, most-rigid, easiest-to-support material you're likely to find at a good price. Gobo is short for go-between. Get two for the sides, one for above the lens.