Serialize languages