wrote united info json.

Phase 1 has nearly finished.