If ExtractorProcessor has a name defined, return
        a JSONPath that has a filter on that name

def get_output_jsonpath_with_name(self, sub_output=None):
        """If ExtractorProcessor has a name defined, return
        a JSONPath that has a filter on that name"""
        if self.name is None:
            return None

        output_jsonpath_field = self.get_output_jsonpath_field(sub_output)
        extractor_filter = "name='{}'".format(self.name)
        output_jsonpath = "{}[?{}].(result[*][value])".format(
            output_jsonpath_field, extractor_filter)

        return output_jsonpath