DICOM reader returns dictionary instead of tuple