Changes camelCase to snake_case to match Ruby attr names