dnsmngr: update json api usage to avoid memory leak
remove json_object_get() call as it is not required and it is causing an increased reference count because of which the object is not being released automatically, causing a memory leak
remove json_object_get() call as it is not required and it is causing an increased reference count because of which the object is not being released automatically, causing a memory leak