Jsonpath Find Element In Array Python Definition Function