The characters can keep their original names, or have new cool pirate names.
The plot of the story doesn't have to be stuck to rigidly. For example, the mountain could be changed to another pirate ship, or an underwater cavern. Smaug could become a kracken, or a sea serpant. Just have fun!
Characters: Bilbo, Gandalf