Object properties in array are correctly matched