You might also read up on Wiseman's "toledoth" or tablet theory, namely that there are ten sets of names in Genesis,
each ending with a colophon--a concluding statement--"these are the generations of..."
That structure is there, whether Wiseman is correct in his theory that each of these lists represents a history kept by
the person named in the colophon, and that those tablets were then passed down to or gathered up by Moses for his writing of the book.
Knowing that structure helps to provide some sense of those names being there.
Also, there are in God's grand plan no little people, as Schaeffer observed. He cares deeply for each of his dear children. He knows the number of hairs on your head. Moreover, He is daily working out the reality of Christ's finished work on the cross in your life, if you are one of His. Those lists are in part a reflection of those facts.