Adding a string array marshalling function