use new metadata adapter API from clld