Moved shared object and array utilities into utils/Collection.js