Fix error on json call for recent request versions