Added the Id to the toArray() representation of the book