only print pages that have at least one annotation, and allow --pretty option for easier human readability