Fixed bug where a string like  snake-case-param was returning snakeC-aseP-aram.