Fairytales where a character is swallowed and transformed as a result?

Hello! I've read a Qazaq fairytale where zhalmauyz kempir (a hag/witch type character, comparable to baba yaga with some differences) gets captured by two disabled men (a blind one and one without legs) and is forced to swallow them whole and spit them back out. The act of being swallowed by her cures both men--the blind man can see again and the legless man grows back his legs. She also swallows an (able-bodied) girl and makes her beautiful.

This got me interested whether there are other fairytales where being swallowed results in a transformation or cure. Would appreciate if the people on this sub would offer anything that comes to their mind.

I would speculate the act of being swallowed by a powerful, albeit monstrous, female mythological entity is akin to being "unbirthed" i.e. the characters return to the state of unbeing and get birthed back, renewed. I feel like something similar must exist in other cultures' stories.

Thank you in advance!