Let the user select between array object or just using plain arrays

Simple change to let the user choose between plain arrays and arrray objects