convert all caps properly to snake format.