Generic interfaces for metadata templating sytems