Looks like double-quotes are necessary as single quotes aren't escaped to insure dict assignment instead of string.
Merge pull request #6807 from mike-ainsworth/grains-fix

Looks like double-quotes are necessary as single quotes aren't escaped t...