var _applyReplacer(const var value, const string key, scope JsonReplacer replacer)
Apply replacer to a value recursively.
Returns a new var with transformations applied.