Collections are sometimes an array; break collections down into collections and collection items
Merge pull request #3 from chadfennell/fix-collections

Collections are sometimes arrays not hashes