Write out classes tagged with @SerializeAs