use json instead of xml for flickr api
make tutorial compatible with json