I switched the package from jsonpath-ng
to the python-jsonpath
(https://pypi.org/project/python-jsonpath/) package, and this resolved my issue.
Then, I did the following,
import jsonpath
filter_data = jsonpath.findall("$..[?(@.name=='is_literate')]", data)