twitpic.lua: read JSON files