Make notifications respond to json