def decryptAccountFromJSON(self, value, password):
    return self.decryptAccount((json.loads(value) if isinstance(value, basestring) else value), password)
def decryptAccountFromJSON(self, value, password):
    return self.decryptAccount((json.loads(value) if isinstance(value, basestring) else value), password)