Fixes issue with O8 return processing

Addresses issue with returning ArrayType values by improving handling of O8 data