fetching images as JSON instead of XML

One thing I didn't like about my change was the fact that when I get each component from the JSON, it returned the numbers as INT instead of STR which wasn't the case when we were using XML
I tested this part. we only use urllib2.