It might be a GM call, but I'd rule the swallowed opponent would simply be popped out when you unpolymorph.
And I think you auto-pass your save against poison when you polymorph into a plant. You might have to roll your save normally and the poison would be surpressed while a plant, but I don't think so.