Haha - that took me about 2 seconds because my Dad use to sing that to us when we were little. The cadence of the third and fourth lines just looked familiar somehow and the tune just popped into my head.
It’s not “gibberish” but a collection of homophones, a sophisticated art form. I came across a book entitled “Anguish Languish” many years ago. It was hilarious.