Map<String, Object?> toJson() { return serializers.serializeWith(SmithyAst.serializer, this) as Map<String, Object?>; }