Support recursive serializztion of param