You could do
julia> Dict(keys(dict_a) .=> values(dict_a)) Dict{Symbol, Int64} with 2 entries: :a => 1 :b => 2