Firstly hash notation is {"name" => "Admiral Ackbar"} and not
{"name":"Admiral Ackbar"} (are you thinking about PHP or Python by
chance?)

To be honest it looks more like you need an Array of hashes.

data = Array.new
data << {"name" => "Admiral Ackbar"}
data << {"name" => "Bail Organa"}

puts data.inspect
=> [{"name"=>"Admiral Ackbar"}, {"name"=>"Bail Organa"}]