Finish up with the JSON generation for the book.