Dealing with 2nd level object in array