JSON Transformations with AI: Dynamic Processing vs. Filter Generation