pysss_nss_idmap: return same type as it is in module constants
The python module pysss_nss_idmap contains few module constants
which should be used (based on python documentation) for checking
type of results.
getsidbyid(id or list/tuple of id) -> dict(id => dict(results))
Returns a dictionary with a dictionary of results for each given
POSIX ID. The result dictionary contains the SID and the type of the
object which can be accessed with the key constants SID_KEY and
However, type of module constant and type of returned key had different type
with python3 due to different handling of strings. This patch unifies it
to string. The same as it is in python2.
Reviewed-by: Sumit Bose <firstname.lastname@example.org>
(cherry picked from commit cc4d6435ef49738a02ddfc6072f1197d7f8f7319)