Alaeddin and the Enchanted Lamp by Payne, John
 is a Project Gutenberg book, now on Github.