Added array support to the json reader