Making salt.utils.parsers python3 compatible