serialize addresses and collections as list instead of each element separately