def _post_json(path, object_to_post)
      resp = @rawclient.post(url(path), JSON.dump(object_to_post), {'Content-type' => 'application/json'})
      JSON.parse(resp.content)
    end
def _post_json(path, object_to_post)
      resp = @rawclient.post(url(path), JSON.dump(object_to_post), {'Content-type' => 'application/json'})
      JSON.parse(resp.content)
    end
post JSON data.
 @param [String] path The parts of the URL that comes after the core
 @param [Hash,Array] object_to_post The data to post as json
 @return [Hash] the parsed-out response