Rename attributes to snake case