I don't now remember the details, but I was told that the missionaries got the song from a 'Campfire Songs' type booklet used in the U.S. at religion-based retreats. [Joe Hickerson of the Library of Congress Folklore Archive has the details. He's retiring on July 3.]