Probably not helpful, but consider that the phrases may be a child's mondegreens - which is what might be implied by 'then everybody laughed'. But for the mondegreens to be effective, they would need to relate to songs well-known to Thomas's readers ....