Uses request library json option for automatic JSON parsing
Removes unused isJSON and toJSON functions