Convert to data.table