Making salt.pillar.cmd_json python3 compatible