this needs something like `andalso T =/= <<"default">>` since default-type buckets may be expressed in the 2-tuple form. otherwise you can set `datatype` on buckets under the default-type.