Fixed duplicated port registration in PythonVarIn.SerializeCore/DeserializeCore methods