fix content encoding for outgoing notifications