'Query value for the jmespath query and return answer
:param value: a data structure (dict, list) to extract from
:return: Element extracted according to jmespath query'

def __call__(self, value):

    return self.compiled_path.search(value)
