get/set component state (for save/load, copy/paste, etc.)