Expand template strings in declarative configurations.