Replaced object with array