nbt_list_of function

Create a list of nbt objects.