generate_annotations_list function

Generate annotations list