lists wrote:

> That will show you the yaml representation of the 'hash' data  structure 
> (I know my 'hash' is different from what you posted, but  yours didn't 
> parse).
> 

It's because in the *wanted* structure, the OP tried to say:

{"an"=>
    [ "at sf",
      "fc di",
      "ps"=>
        ["na vb",
         "ex anEx"]],
  # etc...
}

{"an"=>
    [ "at sf",
      "fc di",
      "ps"=>
        ["na vb",
         "ex anEx"] ] }

The OP is treating "ps" has a hash key => value pair inside of an array. 
  This is why you need "ps" to be inside of another hash.

Zach