impr(localstorage): store only relevant data from the variablemanager

related to CAM-2737