Serialize Peregrin::Book to JSON