changed getactive and inactive hosts methods 

they are now returning json and not the http response
this time through gerrit

Change-Id: Id8314ab74e5ddc621600bf02d38a6d094b95a9a7
Merge "changed getactive and inactive hosts methods " into fb-test1