Jack of Fables #12-16.
The storyline titled The Bad Prince (issues 12 - 15) is a counterpart to the Fables storyline The Good Prince and involves Jack and his relationship to Wicked John.
Jack O Lantern (issue 16) tells the story of Jack's identity as Jack O'Lantern.