Add an object to an array between each element