request and return json from kmx client