Making salt.modules.rest_package python3 compatible