That looks like a good way of doing things. I'll use some custom stringify/parse for now and remove it once your PR lands.