Add support for the 'type' key on the message recipients array