fixed the broken json_client