Removed dependancy on requsts (urllib2 and json instead).