Switch state.json to be ordered

This helps with state handlers that depend on one another.
Fix doc warning