Deprecating regexp fields for json filter

- Replace regexp fields with source and target
- Added test for the new fields