json is an attribute in requests < 1.0