added WriteArray to jsonio.Writer