Clean up the page's metadata dump, add the flags we were missing,
discard some redundant output.