Making salt.output.grains python3 compatible
Removing lists and change back to earlier
Merge pull request #17755 from nmadhok/output-python3-grains

Making salt.output.grains python3 compatible