[Finishes #63213034] removed json client and replaced with genericHttpClient closure