bug in define of httplib as client for 3x support
now returing json object