Added null handling for the DAO method findOne as well as the BookService /books/{bookId}