Merged the map arrays into one array of objects