order of types is preserved in server/client transfer