add variable substitution on dir key of config file
as jsonnet can't have variables on keys, we can't generate a file which full path is not known ahead of time. to leverage this problem, we can introduce variable substitution on dir key, that way, at least the dirname component of generated files can be specified at runtime