convert intercase values to struct