parses notifications into data types