Changed output for json arrays