Handle arrays of ojects