Allow arrays in toplevel

Some Web APIs (e.g. GitHub API) returns arrays as JSON.
Add test_data