add nested arrays to json reader