print message types as string