Building book json and displaying image