Select the fluid in the wish for an item menu. Press the f key. Now, at the top it should say (contained) after the item name. This will spawn it in an appropriate container.
IE: #403 water_clean becomes #403 water_clean (contained) and will spawn plastic bottles of clean water instead of loose water.
I don’t believe you can control what container it spawns in.