Use GwtModel instead of custom parsing and modification (#12840).

Change-Id: I61dabd2680a4a9637cdd368ec82741a7070b35ca