cleaner callJsonEndpoint using eitherDecode