Created an array of objects for books using JSON