adding integration test for top-level array data
implementing fix for top-level array data
fixing extract to support new integration test
Merge pull request #44 from jimbojw/bugfix/toplevel-arrays

Bugfix/toplevel arrays