Support serializers for datetime objects