Changed format of JSON behavior files. Removed twitter object and replaced it with a mode property that the string 'twitter' is assigned to. Also fixed a few other bugs