Added function to convert camel case properties to dash case