def METHOD_NAME(self):
    input = {
        "hello": "world",
        "hello2": "again",
        "path": {"to": {"anotherkey": "hi", "inside": {"hello": "inside"}}},
    }
    expected = {
        "new-value": "world",
        "new-value2": "again",
        "path": {"to": {"anotherkey": "hi", "inside": {"new-value": "inside"}}},
    }
    transformer = TransformerUtility.regex("hello", "new-value")
    ctx = TransformContext()
    output = transformer.transform(json.dumps(input), ctx=ctx)
    for sr in ctx.serialized_replacements:
        output = sr(output)
    assert json.loads(output) == expected