pub fn write(
    lib: String,
    id: String,
    data: DataObject,
    readers: DataArray,
    writers: DataArray
) -> DataObject