notification json fields unified to "type" and "value"