Added support to conver array of objects