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
The amount of photos we're fetching each day is 100 right? This total_photos is currently 100.