Unable to create a dict from split

Note that in the upcoming v0.7 version of Julia, you will also be able to use named tuples to create small collections:

julia> VERSION
v"0.7.0-alpha.20"

julia> line = "id,stuff"
"id,stuff"

julia> NamedTuple{(:id, :stuff)}(split(line, ','))
(id = "id", stuff = "stuff")