Making salt.utils.pyobjects python3 compatible