avoid parsing empty json bodies. sample triggers are mostly working