Fixes for timeaware datetimes in external messages