Expand hashes while generating the agent config.

This fixes issues like the multiline codec not working with Chef.