Automatically convert type names from hyphens to camelCase