implement hierarchy clustering
deserialize JSON to create PDFPage