ROS GW: fix toStrringData() code generation