This video shows how to write an effective and smaller json path to parse json response instead of writing long absolute json path from the root node with the help of jsonpath-rw library in python.
Also this code can be later converted into an utility function.