Not what I would do…I would just use the plugin for all of what it is worth, which in this case is to use it to store the JSON and modify the JSON instead of bothering with custom states at all.