Implemented SerializeCore/DeserializeCore methods for Python/PythonVarIn classes