metadata: Adding preliminary support for independent metadata profiles