I see that you convert from hyphenated to camel case. What about renaming the function to make that detail explicit (fromHyhenatedToCamelCase) or make it generic to work with underscores as well?
If I have a variable named COOL_VARIABLE this function is not going to help me.