Add ToString() method to PageInfo for improved debugging