Create state.json