change default sub-persistence to stdclass