fixed issue where serializer duplicated objects in collections