code: def decipher_all(decipher, objid, genno, x):
      
      if isinstance(x, str):
          return decipher(objid, genno, x)
      if isinstance(x, list):
          x = [decipher_all(decipher, objid, genno, v) for v in x]
      elif isinstance(x, dict):
          for (k, v) in x.iteritems():
              x[k] = decipher_all(decipher, objid, genno, v)
      return x
docs: Recursively deciphers the given object.