Making salt.output.nested python3 compatible