Refactor DataArrays and IDataArrays IO methods