remove unnecessary @TypeInfo annotations