Added support for JSONArrays