Merge all annotations which refer to the same MediaUnit
Currently, structured documents may be too heavy if there are a lot of pages. Annotations have to be gathered when they are related to the same mediaUnit, it will reduce file's size associated with this resource.