Map<String, dynamic> toJson() { return { 'invert': invert, 'responseMatch': responseMatch, 'xPath': xPath, 'jsonPath': jsonPath, }; }