make separate metadata and params objects available in knit environment