Making salt.modules.serverdensity_device python3 compatible