I am writing a function in node js which accepts 2 parameter - "param1" is "jsonObj" & "param2" is "xpath"(as String) but when I