using sourceResource.type instead of type[]
capitalized  and  bools
lessons learned from production copy
canned switches for debugging tweetCat.php