Use single atom for simple types

Examples:
{ :integer, nil } => :integer
{ :list, { :string, nil } } => { :list, :string }