add Pdfinfo::ToHash to include shared #to_hash method