Since PUP-10321 won't be fixed, I think that the documentation of 'notify' resource should be improved.
It should precise that even if the 'message' attributes accepts hashes or arrays, its behavior is only guaranteed for strings.