fixed the GT and GM json view error, refs #272