added json ouput array test