Group annotations with metadata