added serialization of base parameters