Add a test for array based json