made changed to enum_to_format.rb