Convert string substitutions to new Ansible format