remove #as_json alias.  remove PageCollection class and ObjectToHash.  explicitly define Page#to_hash and Pdfinfo#to_hash in their respective classes.