Use serialized JSON for state storage
