Handle unknown types as string