Workaround for missing 'Rect' entry in annotation dictionaries

adopted from https://github.com/mozilla/pdf.js/pull/4539
get name and modification time from annotations
update getPDFAnnotations.js
add text cases