if transitions is an array, return the iteration so it won't trigger the makeTransition method with an array argument. Throw error if the transition object is missing the famousTransition property.