docs: def format_as_utc(self, value):
          """Format UTC times."""
          if isinstance(value, datetime.datetime):
              if value.tzinfo is not None:
                  value = value.astimezone(pytz.UTC)
              value = value.replace(microsecond=0)
          return value.isoformat().replace('+00:00', 'Z')