rename and possibility to allow an arbitrary amount of allowed packages at deserialization