Re: utility function for converting lists of objects to array of objects?