convert stdObjects in uniform function to arrays as well