Add a json state to each control