export array or object depended on collection or not