prm serialization