code: def _decode_embedded_dict(src):
      '''
      Convert enbedded bytes to strings if possible.
      Dict helper.
      '''
      output = {}
      for key, val in six.iteritems(src):
          if isinstance(val, dict):
              val = _decode_embedded_dict(val)
          elif isinstance(val, list):
              val = _decode_embedded_list(val)  # pylint: disable=redefined-variable-type
          elif isinstance(val, bytes):
              try:
                  val = val.decode()
              except UnicodeError:
                  pass
          if isinstance(key, bytes):
              try:
                  key = key.decode()
              except UnicodeError:
                  pass
          output[key] = val
      return outpuf _decode_embedded_dict(src):
      '''
      Convert enbedded bytes to strings if possible.
      Dict helper.
      '''
      output = {}
      for key, val in six.iteritems(src):
          if isinstance(val, dict):
              val = _decode_embedded_dict(val)
          elif isinstance(val, list):
              val = _decode_embedded_list(val)  # pylint: disable=redefined-variable-type
          elif isinstance(val, bytes):
              try:
                  val = val.decode()
              except UnicodeError:
                  pass
          if isinstance(key, bytes):
              try:
                  key = key.decode()
              except UnicodeError:
                  pass
          output[key] = val
      return output
docs: Convert enbedded bytes to strings if possible.
      Dict helper.