wrote just enough generate the JSON for a book.