generate anonymous collections for array literals