Fix the Flickr API's invalid JSON before decoding it