Python Response Json Get Function In R