Check if optical image is a list when transform metadata
No need to turn optical image list to DataArray