def METHOD_NAME(self, table, key, value):
    if type(key) == tuple:
        path = JsonPointer.from_parts([table, '|'.join(key)]).path
    elif type(key) == list:
        path = JsonPointer.from_parts([table, *key]).path
    else:
        path = JsonPointer.from_parts([table, key]).path
    if value == {"NULL" : "NULL"}:
        value = {}
    else:
        value = self.stringify_value(value)
    return path, value