How do i build an array of objects, using data from an array of arrays, where the 1st subarray is the keys and the subequent subarrays are the values?