minor refactoring to collect array and collection type properties