restore NotificationRule#to_json to its former glory, almost