exercise using Json to console.log an array of books and authors