Add getJsonByPath function (Task5) (WIP)