def TurnIntIntoStrInDict(the_dict):
 for (k, v) in the_dict.items():
  if (type(v) is int):
   v = str(v)
   the_dict[k] = v
  elif (type(v) is dict):
   TurnIntIntoStrInDict(v)
  elif (type(v) is list):
   TurnIntIntoStrInList(v)
  if (type(k) is int):
   del the_dict[k]
   the_dict[str(k)] = v

def TurnIntIntoStrInDict ( the_dict ) : for ( k , v ) in the_dict . items ( ) : if ( type ( v ) is int ) : v = str ( v ) the_dict [ k ] = v elif ( type ( v ) is dict ) : TurnIntIntoStrInDict ( v ) elif ( type ( v ) is list ) : TurnIntIntoStrInList ( v ) if ( type ( k ) is int ) : del the_dict [ k ] the_dict [ str ( k ) ] = v
given dict the_dict .