Added JSON read ability, added trigger support, added an ability to pick and use the correct trigger