cleanup DataExchangeFormat reader/writer API (include  iostream support directly)