prepare for multiple metadata backends