tweak basis.data.SourceDataset#init
basis.entity optimize enum fields with one variant, add some tests for field types