[util] add paramify and its tests