Add support for sending Dates in metadata