Correcting camelcase to snake case