Automatically convert type names from hyphens to camelCase

This feature  fixes recidive/choko#108