Board Thread:Spoilers!/@comment-5821891-20130207023043/@comment-4273152-20130209231432

Assuming the poem exists in FTL, it's possible that the residents of Wonderland wrote it as a sort of ballad after the defeat of the Jabberwock. If they had never met Jack, they may assume it was a boy who did it, so they recorded it as such.