handle lists in the annotation values