Added a test for json arrays