Saving Entity Specific Data

I want to know how I could save data specific to a single entity. I mean if I had 2 npc_random_monster entities they both would have data tables specific to them(One would have a value higher than the other potentially etc), and be able to transfer this data between local and client sided scripts.