(Bug 4818) Add groups and xpost metadata to Entry::print_metadata