Include array parameter in writeData