ArrayListSerializer extended to serialize all lists.