Changed collection structure to not use nested arrays
Not using nested arrays in collections