fix for "Unrecognized field: _id"

Hi!

This patch fixes "Unrecognized field: _id" exception thrown when trying to send a templated message. Please review.

Thanks,
Michael