Fix minor bug in test_get_root_discovers_v1

Invoke json method to get response body instead of referring it.

Change-Id: I5af060b75b14f2b9322099d8a658c070b056cee2