I got a similar problem with R. I'm converting all numbers in my struct to vars and send them as a vector all at once.