Added function to convert camel case to token format.