How to create data table by actor/component structure?

Currently, I am using a SaveGame file to store individual component variables and utilize it as a preset system. However, this approach seems inefficient. Additionally. Creating a separate structure with the same set of variables as the component doesn’t seem like an optimal solution either. It’s worth noting that it’s not feasible to create a data table with the camera component class, for instance. What would be the best solution for handling data in this context?